<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>AndBase开发框架: com.ab.view.calendar.CalendarHeader类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ic_launcher.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">AndBase开发框架
   &#160;<span id="projectnumber">1.6</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab.html">ab</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab_1_1view.html">view</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab_1_1view_1_1calendar.html">calendar</a></li><li class="navelem"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html">CalendarHeader</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.ab.view.calendar.CalendarHeader类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 com.ab.view.calendar.CalendarHeader 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.png" usemap="#com.ab.view.calendar.CalendarHeader_map" alt=""/>
  <map id="com.ab.view.calendar.CalendarHeader_map" name="com.ab.view.calendar.CalendarHeader_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ad2ff73636e893fda161ae51f41314c0e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#ad2ff73636e893fda161ae51f41314c0e">CalendarHeader</a> (Context context)</td></tr>
<tr class="separator:ad2ff73636e893fda161ae51f41314c0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92e030220e104679ddf5f53935a35474"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a92e030220e104679ddf5f53935a35474">CalendarHeader</a> (Context context, AttributeSet attributeset)</td></tr>
<tr class="separator:a92e030220e104679ddf5f53935a35474"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0b6045bdcde7816afa17a33c61a33ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#ae0b6045bdcde7816afa17a33c61a33ea">setHeaderBackgroundResource</a> (int resid)</td></tr>
<tr class="separator:ae0b6045bdcde7816afa17a33c61a33ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e34d780ac8eb4492d3a01d5421712bb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a7e34d780ac8eb4492d3a01d5421712bb">getTextSize</a> ()</td></tr>
<tr class="separator:a7e34d780ac8eb4492d3a01d5421712bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fecf63523c0bbbf7a6ebbb1c6057bfc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a7fecf63523c0bbbf7a6ebbb1c6057bfc">setTextSize</a> (int mTextSize)</td></tr>
<tr class="separator:a7fecf63523c0bbbf7a6ebbb1c6057bfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a563ce25168392bb85d92a675e41df4d4"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a563ce25168392bb85d92a675e41df4d4">getWeekDayName</a> (int calendarDay)</td></tr>
<tr class="separator:a563ce25168392bb85d92a675e41df4d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:aee904edb849a83a2b79a6999e9a1f6a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#aee904edb849a83a2b79a6999e9a1f6a7">onDraw</a> (Canvas canvas)</td></tr>
<tr class="separator:aee904edb849a83a2b79a6999e9a1f6a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a9c4bac9f623acd8e7b5f06a560e4c1a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a9c4bac9f623acd8e7b5f06a560e4c1a2">drawDayHeader</a> (Canvas canvas)</td></tr>
<tr class="separator:a9c4bac9f623acd8e7b5f06a560e4c1a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a8b663a90de0f3ce5e609f7d365d780fc"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a8b663a90de0f3ce5e609f7d365d780fc">TAG</a> = &quot;CalendarHeader&quot;</td></tr>
<tr class="separator:a8b663a90de0f3ce5e609f7d365d780fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf0f301439f94fadcbac202bc10847fc"><td class="memItemLeft" align="right" valign="top">final Paint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#acf0f301439f94fadcbac202bc10847fc">mPaint</a></td></tr>
<tr class="separator:acf0f301439f94fadcbac202bc10847fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ed1e21710d749409b84b9d8485c7c27"><td class="memItemLeft" align="right" valign="top">RectF&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a3ed1e21710d749409b84b9d8485c7c27">rect</a> = new RectF()</td></tr>
<tr class="separator:a3ed1e21710d749409b84b9d8485c7c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37cb142617d514861a0b578d0ceef052"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a37cb142617d514861a0b578d0ceef052">weekDay</a> = Calendar.SUNDAY</td></tr>
<tr class="separator:a37cb142617d514861a0b578d0ceef052"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a395e750e3c4b9a1c3f8dfd43b48ca199"><td class="memItemLeft" align="right" valign="top">String[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a395e750e3c4b9a1c3f8dfd43b48ca199">dayName</a> = new String[10]</td></tr>
<tr class="separator:a395e750e3c4b9a1c3f8dfd43b48ca199"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8508e7e524835b03c86a4d58f0cdfd73"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a8508e7e524835b03c86a4d58f0cdfd73">width</a> = 320</td></tr>
<tr class="separator:a8508e7e524835b03c86a4d58f0cdfd73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a854a15ad1f03c0296ed1753a88f49e2d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a854a15ad1f03c0296ed1753a88f49e2d">height</a> = 480</td></tr>
<tr class="separator:a854a15ad1f03c0296ed1753a88f49e2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9542cd867d086aef0368787f52bef08a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a9542cd867d086aef0368787f52bef08a">cellWidth</a> = 40</td></tr>
<tr class="separator:a9542cd867d086aef0368787f52bef08a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab768945b22eddb6b2056154fbd64357d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#ab768945b22eddb6b2056154fbd64357d">defaultTextColor</a> = Color.rgb(86, 86, 86)</td></tr>
<tr class="separator:ab768945b22eddb6b2056154fbd64357d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fa163119d9772abf7ccad72de983b14"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a7fa163119d9772abf7ccad72de983b14">specialTextColor</a> = Color.rgb(240, 140, 26)</td></tr>
<tr class="separator:a7fa163119d9772abf7ccad72de983b14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5af3bccdf9045c9a1b1453d0a14d2b3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#aa5af3bccdf9045c9a1b1453d0a14d2b3">defaultTextSize</a> = 25</td></tr>
<tr class="separator:aa5af3bccdf9045c9a1b1453d0a14d2b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b7b37de9aca106d7329d40596cad580"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a5b7b37de9aca106d7329d40596cad580">defaultTextBold</a> = false</td></tr>
<tr class="separator:a5b7b37de9aca106d7329d40596cad580"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2508dbd83bf65cb89c94afaf49aeaf4c"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1view_1_1calendar_1_1_calendar_header.html#a2508dbd83bf65cb89c94afaf49aeaf4c">hasBg</a> = false</td></tr>
<tr class="separator:a2508dbd83bf65cb89c94afaf49aeaf4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>© 2012 amsoft.cn 名称：CalendarHeader.java 描述：日历控件头部绘制类</p>
<dl class="section author"><dt>作者</dt><dd>还如一梦中 </dd></dl>
<dl class="section version"><dt>版本</dt><dd>v1.0 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>：2013-7-9 下午2:07:52 </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="ad2ff73636e893fda161ae51f41314c0e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.ab.view.calendar.CalendarHeader.CalendarHeader </td>
          <td>(</td>
          <td class="paramtype">Context&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>日历头.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>the context </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a92e030220e104679ddf5f53935a35474"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.ab.view.calendar.CalendarHeader.CalendarHeader </td>
          <td>(</td>
          <td class="paramtype">Context&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AttributeSet&#160;</td>
          <td class="paramname"><em>attributeset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Instantiates a new calendar header.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>the context </td></tr>
    <tr><td class="paramname">attributeset</td><td>the attributeset </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a9c4bac9f623acd8e7b5f06a560e4c1a2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.calendar.CalendarHeader.drawDayHeader </td>
          <td>(</td>
          <td class="paramtype">Canvas&#160;</td>
          <td class="paramname"><em>canvas</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Draw day header.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">canvas</td><td>the canvas </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7e34d780ac8eb4492d3a01d5421712bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.calendar.CalendarHeader.getTextSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：文字大小.</p>
<dl class="section return"><dt>返回</dt><dd>the text size </dd></dl>

</div>
</div>
<a class="anchor" id="a563ce25168392bb85d92a675e41df4d4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.ab.view.calendar.CalendarHeader.getWeekDayName </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>calendarDay</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：获取星期的文字描述.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">calendarDay</td><td>the calendar day </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>the week day name </dd></dl>

</div>
</div>
<a class="anchor" id="aee904edb849a83a2b79a6999e9a1f6a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.calendar.CalendarHeader.onDraw </td>
          <td>(</td>
          <td class="paramtype">Canvas&#160;</td>
          <td class="paramname"><em>canvas</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：TODO.</p>
<dl class="section version"><dt>版本</dt><dd>v1.0 </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">canvas</td><td>the canvas </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>参见</dt><dd>android.view.View::onDraw(android.graphics.Canvas) </dd></dl>
<dl class="section author"><dt>作者</dt><dd>: amsoft.cn </dd></dl>
<dl class="section date"><dt>日期</dt><dd>：2013-7-19 下午4:30:45 </dd></dl>

</div>
</div>
<a class="anchor" id="ae0b6045bdcde7816afa17a33c61a33ea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.calendar.CalendarHeader.setHeaderBackgroundResource </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>resid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：设置背景.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">resid</td><td>the new header background resource </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7fecf63523c0bbbf7a6ebbb1c6057bfc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.view.calendar.CalendarHeader.setTextSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>mTextSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：设置文字大小.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mTextSize</td><td>the new text size </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a class="anchor" id="a9542cd867d086aef0368787f52bef08a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.calendar.CalendarHeader.cellWidth = 40</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>每个单元格的宽度. </p>

</div>
</div>
<a class="anchor" id="a395e750e3c4b9a1c3f8dfd43b48ca199"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String [] com.ab.view.calendar.CalendarHeader.dayName = new String[10]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The day name. </p>

</div>
</div>
<a class="anchor" id="a5b7b37de9aca106d7329d40596cad580"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.ab.view.calendar.CalendarHeader.defaultTextBold = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>字体是否加粗. </p>

</div>
</div>
<a class="anchor" id="ab768945b22eddb6b2056154fbd64357d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.calendar.CalendarHeader.defaultTextColor = Color.rgb(86, 86, 86)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文字颜色. </p>

</div>
</div>
<a class="anchor" id="aa5af3bccdf9045c9a1b1453d0a14d2b3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.calendar.CalendarHeader.defaultTextSize = 25</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>字体大小. </p>

</div>
</div>
<a class="anchor" id="a2508dbd83bf65cb89c94afaf49aeaf4c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.ab.view.calendar.CalendarHeader.hasBg = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否有设置头部背景. </p>

</div>
</div>
<a class="anchor" id="a854a15ad1f03c0296ed1753a88f49e2d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.calendar.CalendarHeader.height = 480</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The height. </p>

</div>
</div>
<a class="anchor" id="acf0f301439f94fadcbac202bc10847fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final Paint com.ab.view.calendar.CalendarHeader.mPaint</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The m paint. </p>

</div>
</div>
<a class="anchor" id="a3ed1e21710d749409b84b9d8485c7c27"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RectF com.ab.view.calendar.CalendarHeader.rect = new RectF()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The rect. </p>

</div>
</div>
<a class="anchor" id="a7fa163119d9772abf7ccad72de983b14"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.calendar.CalendarHeader.specialTextColor = Color.rgb(240, 140, 26)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>特别文字颜色. </p>

</div>
</div>
<a class="anchor" id="a8b663a90de0f3ce5e609f7d365d780fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.ab.view.calendar.CalendarHeader.TAG = &quot;CalendarHeader&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The tag. </p>

</div>
</div>
<a class="anchor" id="a37cb142617d514861a0b578d0ceef052"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.calendar.CalendarHeader.weekDay = Calendar.SUNDAY</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The week day. </p>

</div>
</div>
<a class="anchor" id="a8508e7e524835b03c86a4d58f0cdfd73"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int com.ab.view.calendar.CalendarHeader.width = 320</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The width. </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/com/ab/view/calendar/<a class="el" href="_calendar_header_8java.html">CalendarHeader.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2014年 十一月 6日 星期四 11:22:02 , 为 AndBase开发框架使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
